home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Topik
/
Topik - Disk 16 - KnowAboutIt (19xx)(Topik Public Domain)(PD)[WB].zip
/
Topik - Disk 16 - KnowAboutIt (19xx)(Topik Public Domain)(PD)[WB].adf
/
MicroRayDbw
/
Make.version
< prev
next >
Wrap
Text File
|
1988-12-11
|
398b
|
17 lines
#
# Places the comment at the top of README into all of the source files
#
sed -n '1,/\/$/p' README > version.txt
foreach a ( $* )
echo "$a"
cp version.txt $a.new
sed '1,/\/$/d' $a >> $a.new
mv $a.new $a
end
echo "Makefile"
sed '1,$s/^/#/' version.txt > Makefile.new
sed '1,/^[^#]/d' Makefile >> Makefile.new
mv Makefile.new Makefile
rm -f version.txt
touch *.o uray